package com.wifirecommenderap;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
//import java.util.Timer;
import android.widget.TextView;
import java.util.List;
import java.util.TimerTask;
import android.util.Log;

public class ScanningTask extends TimerTask
{
	String thisTag = "ScanningTask";
	
	private TextView ltttv;
	private int count;	
	
	public int getCount()
	{
		return count;
	}
	
	@Override
	public void run()
	{
		doScanStuff();
	}
	
	public void doScanStuff()
	{
		count++;
		Log.i(thisTag, " count = " + count);
	}
	
	public ScanningTask(TextView status)
	{
		Log.i(thisTag, " constructed");
		ltttv = status; 
		count = 0;
	}

	
	public ScanningTask()
	{
		Log.i(thisTag, "constructed");
		count = 0;
	}
	
}
